const express = require('express');

const data = require( './data.json' );

const server = express();

server.get('/api/goods' , ( req , res )=>{
    res.json(data);
});

server.listen( 9998 , ()=>{
    console.log('本地服务已启动！！！');
    console.log('9998，端口正在监听中...');
} );
